public class 最短路径查询界面 {
    //.单源最短路径查询界面
    class LuJing extends JFrame implements ActionLi stener {
        GraphPath G = new GraphPath();
        JLabel tul, tu2, tu3;
        String t;
        JLabel label1 = new JLabel("起点(编号或名称) :");
        JLabel label2 = new JLabel("终点(编号或名称) :");
        JLabel label3 = new JLabe1("路径显示+  距离：");
        JTextArea textl = new JTextArea("", 1, 36);
        JTextArea text2 = new JTextArea("", 1, 30);
        JTextArea text3=new JTextArea ( "", 4, 45) ;
        JPanell panel ;
        String  s="0O" ;
        JButton button1=new JButton("查询") ;//按钮组件
        JButton button2=new JButton( "返回") ;/ /按钮组件;
    }

}

